PointInspection

interface PointInspection

Provides information about DOM node at a specified point inside the loaded document.

Properties

Link copied to clipboard

Returns the absolute URL of the image located at this point, or an empty string if there is no image at the point.

Link copied to clipboard

Returns the absolute URL of the link DOM element at this point, or an empty string if there is no link at the point.

Link copied to clipboard

Returns coordinates of the point relative to the node.

Link copied to clipboard

Returns the Node at this point, or null if there is no node at the point.

Link copied to clipboard

Returns the link Element when a link is located at this point, or null if there is no link element at the point.

Functions

Link copied to clipboard
Returns a string that represents the absolute URL of the image located at the point or an empty string if there is no image at the point.
Link copied to clipboard
Returns a string that represents the absolute URL of the link DOM element at the point or an empty string if there is no link at the point.
Link copied to clipboard
open fun localPoint(): Point
Returns coordinates of the point relative to the node.
Link copied to clipboard
open fun node(): Optional<Node>
Returns the Node at the point.
Link copied to clipboard
Returns the link Element when a link is located at the point.